{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\swhitt\OneDrive - High Point University\Research\US Surveys\US 2021\Transgender sports\PS\PS Transgender Sports Replication Instructions\PS transgender replication log file.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}20 Sep 2024, 18:30:38

{com}. do "C:\Users\swhitt\OneDrive - High Point University\Research\US Surveys\US 2021\Transgender sports\PS\PS Transgender Sports Replication Instructions\PS transgender replication do file.do"
{txt}
{com}. *Replication Instructions for
. 
. *Increasing Public Support for Transgender Rights through Superordinate LGBT+ Rights Framing: Evidence from a U.S. Survey Experiment on Transgender Participation in Sports
. 
. *Sam Whitt, Alixandra B. Yanus, Mark Setzler, Brian McDonald, Gordon Ballingrud, Tyler Coleman
. 
. *Below are instructions for replicating all manuscript and online appendix tables and figures in STATA using the dataset "PS transgender replication data.dta". Please contact Sam Whitt (swhitt@highpoint.edu) for questions regarding data replication. See also the dofile "PS transgender replication do file". 
. 
. *Note: You may need to install STATA packages for the catcibar, cibar, marginscontplot, and iebaltab commands. Use findit with the command name to identify and download the appropriate packets to install. 
. 
. *Note: In addition, some graphs require additional formatting using filename.grec files with the graph play command. To format a graph, simply run the command to generate the graph in the do file in STATA, then open the "Graph Editor" in STATA and click on the GREEN "Play Recording" button, then select "Browse" to select the grec file from the folder "grec files for STATA graph formatting" among Replication files. The name of the grec file is indicated in the note below the graph command in the do file for the specific graph you wish to format. This should automatically format the graph, which you may then save to a location of your choosing.
. 
. *Manuscript Replication
. 
. *"Stata user generated commands to install for replication purposes"
. 
. *"cohend"
. 
. ssc install cohend, replace
{txt}checking {hilite:cohend} consistency and verifying not already installed...
all files already exist and are up to date.

{com}. 
. *"cibar"
. 
. ssc install cibar, replace
{txt}checking {hilite:cibar} consistency and verifying not already installed...
all files already exist and are up to date.

{com}. 
. *"iebaltab from ietoolkit"
. 
. ssc install ietoolkit, replace
{txt}checking {hilite:ietoolkit} consistency and verifying not already installed...
all files already exist and are up to date.

{com}. 
. *"catcibar"
. 
. net install catcibar, from("https://aarondwolf.github.io/catcibar") replace
checking {hilite:catcibar} consistency and verifying not already installed...
all files already exist and are up to date.
{txt}
{com}. 
. *"marginscontplot and marginscontplot2"
. 
. net install gr0056, from(http://www.stata-journal.com/software/sj13-3) replace
checking {hilite:gr0056} consistency and verifying not already installed...
all files already exist and are up to date.
{txt}
{com}. ssc install marginscontplot2, replace
{txt}checking {hilite:marginscontplot2} consistency and verifying not already installed...
all files already exist and are up to date.

{com}. 
. *"regsensitivity"
. 
. ssc install regsensitivity, replace
{txt}checking {hilite:regsensitivity} consistency and verifying not already installed...
all files already exist and are up to date.

{com}. 
. *Replication in Text
. 
. *"A total of 1366 respondents completed our survey between May 19-25, 2021. Women represent 52% of the sample with few non-binary respondents (4 out of 1366). More people in our sample identify as Democrats (44%) than Republicans (32%) or Independents (20%), and our sample is predominantly White (78%), with 12% identifying as African-American and 12% as non-White Latino."
. 
. use "./PS transgender replication data.dta"
{txt}
{com}. tab date

       {txt}date {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
  19 May 21 {c |}{res}        134        9.81        9.81
{txt}  20 May 21 {c |}{res}        665       48.68       58.49
{txt}  21 May 21 {c |}{res}        352       25.77       84.26
{txt}  22 May 21 {c |}{res}         25        1.83       86.09
{txt}  23 May 21 {c |}{res}         20        1.46       87.55
{txt}  24 May 21 {c |}{res}         41        3.00       90.56
{txt}  25 May 21 {c |}{res}        129        9.44      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,366      100.00
{txt}
{com}. tab gender

                         {txt}gender {c |}      Freq.     Percent        Cum.
{hline 32}{c +}{hline 35}
                           Male {c |}{res}        650       47.58       47.58
{txt}                         Female {c |}{res}        712       52.12       99.71
{txt}Another gender (please explain) {c |}{res}          4        0.29      100.00
{txt}{hline 32}{c +}{hline 35}
                          Total {c |}{res}      1,366      100.00
{txt}
{com}. tab partyid

   {txt}In politics today, do {c |}
        you tend to lean {c |}
Republican, Democrat, or {c |}
                  what?  {c |}      Freq.     Percent        Cum.
{hline 25}{c +}{hline 35}
                Democrat {c |}{res}        596       43.63       43.63
{txt}              Republican {c |}{res}        442       32.36       75.99
{txt}Independent/unaffiliated {c |}{res}        279       20.42       96.41
{txt}                   Other {c |}{res}          7        0.51       96.93
{txt}       Don't know/Unsure {c |}{res}         42        3.07      100.00
{txt}{hline 25}{c +}{hline 35}
                   Total {c |}{res}      1,366      100.00
{txt}
{com}. tab race

       {txt}What racial or ethnic group best {c |}
       describes you? - Selected Choice {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
              African-American or Black {c |}{res}        163       11.93       11.93
{txt}                     White or Caucasian {c |}{res}      1,059       77.53       89.46
{txt}                        Native American {c |}{res}         23        1.68       91.14
{txt}                                  Asian {c |}{res}         70        5.12       96.27
{txt}Multiple or another race (please explai {c |}{res}         32        2.34       98.61
{txt}                      Don't know/Unsure {c |}{res}         19        1.39      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}      1,366      100.00
{txt}
{com}. tab dlatino

  {txt}dummy for {c |}
     latino {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}      1,203       88.07       88.07
{txt}          1 {c |}{res}        163       11.93      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,366      100.00
{txt}
{com}. 
. *"Out of 680 responses, 30.4% stated that transgender athletes should be able to participate in sports based on their self-identified gender, while 69.6% preferred that transgender athletes compete in sports based on their assigned gender at birth."
. 
. tab dtrans_sports if lgbt_first_txt==0

        {txt}1 = {c |}
  inclusive {c |}
participati {c |}
     on 0 = {c |}
  exclusive {c |}
  gender of {c |}
      birth {c |}
participati {c |}
         on {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        473       69.56       69.56
{txt}          1 {c |}{res}        207       30.44      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        680      100.00
{txt}
{com}. 
. *"In Figure 2, we show that priming on LGBT+ rights led to a 9.1 percentage-point increase in overall support for transgender participation in sports based on self-identified gender (unpaired t-test=3.53, p<0.0002, Cohen's d=0.19)."
. ttest dtrans_sports, by(lgbt_first_txt) unpaired unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. err.{col 47}Std. dev.{col 59}[95% conf. interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    680{col 22} .3044118{col 34} .0176592{col 46} .4604966{col 58} .2697385{col 70}  .339085
       {txt}1 {c |}{res}{col 12}    683{col 22} .3953148{col 34} .0187216{col 46} .4892765{col 58} .3585558{col 70} .4320738
{txt}{hline 9}{c +}{hline 68}
Combined {c |}{res}{col 12}  1,363{col 22} .3499633{col 34} .0129238{col 46} .4771331{col 58} .3246105{col 70} .3753161
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.090903{col 34} .0257361{col 58}  -.14139{col 70}-.0404161
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.5321
{txt}H0: diff = 0                     Satterthwaite's degrees of freedom = {res} 1356.72

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0002         {txt}Pr(|T| > |t|) = {res}0.0004          {txt}Pr(T > t) = {res}0.9998
{txt}
{com}. cohend dtrans_sports lgbt_first_txt

{res}(1) Cohen's {it:d} and (2) Cohen's {it:d} corrected for uneven groups

{txt}(1) -.19145998
(2) -.19146044


{res}(3) Hedges' {it:g} and (4) Hedges' {it:g} corrected for uneven groups

{txt}(3) -.19131946
(4) -.19131992


{res}(5) Effect size {it:r} and (6) Effect size {it:r} corrected for uneven groups

{txt}(5) -.09529433
(6) -.09529411

{com}. 
. *"The baseline treatment effect (20.1% increase relative to control) is strong and positive for people who report feeling very safe around LGBT+ people (49%) but declines by an average rate of 7.7% for people who report feeling only somewhat safe (34%), somewhat unsafe (11%), or very unsafe (6%) around LGBT+ people." (see also Table 1)
. 
. tab safe_lgbt

{txt}How safe do you {c |}
    feel in the {c |}
    presence of {c |}
   LGBT people? {c |}      Freq.     Percent        Cum.
{hline 16}{c +}{hline 35}
      Very safe {c |}{res}        667       49.01       49.01
{txt}  somewhat safe {c |}{res}        468       34.39       83.39
{txt}somewhat unsafe {c |}{res}        146       10.73       94.12
{txt}    very unsafe {c |}{res}         80        5.88      100.00
{txt}{hline 16}{c +}{hline 35}
          Total {c |}{res}      1,361      100.00
{txt}
{com}. 
. *"Democratic women are the most supportive of transgender inclusion in our study (47.6% in the control group), but our LGBT+ framing treatment group boosts support to 61% (unpaired t-test=2.34, p<0.01, Cohen's d=0.28)."
. 
. tab dtrans_sports if lgbt_first_txt==0 & female==1 & partyid==1

        {txt}1 = {c |}
  inclusive {c |}
participati {c |}
     on 0 = {c |}
  exclusive {c |}
  gender of {c |}
      birth {c |}
participati {c |}
         on {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         77       52.38       52.38
{txt}          1 {c |}{res}         70       47.62      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        147      100.00
{txt}
{com}. tab dtrans_sports if lgbt_first_txt==1 & female==1 & partyid==1

        {txt}1 = {c |}
  inclusive {c |}
participati {c |}
     on 0 = {c |}
  exclusive {c |}
  gender of {c |}
      birth {c |}
participati {c |}
         on {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         55       38.73       38.73
{txt}          1 {c |}{res}         87       61.27      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        142      100.00
{txt}
{com}. ttest dtrans_sports if female==1 & partyid==1, by(lgbt_first_txt) unpaired unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. err.{col 47}Std. dev.{col 59}[95% conf. interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    147{col 22} .4761905{col 34} .0413334{col 46} .5011403{col 58} .3945015{col 70} .5578795
       {txt}1 {c |}{res}{col 12}    142{col 22} .6126761{col 34} .0410245{col 46} .4888631{col 58} .5315735{col 70} .6937786
{txt}{hline 9}{c +}{hline 68}
Combined {c |}{res}{col 12}    289{col 22} .5432526{col 34} .0293523{col 46} .4989898{col 58} .4854803{col 70} .6010249
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1364856{col 34} .0582362{col 58}-.2511098{col 70}-.0218613
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.3437
{txt}H0: diff = 0                     Satterthwaite's degrees of freedom = {res} 286.972

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0099         {txt}Pr(|T| > |t|) = {res}0.0198          {txt}Pr(T > t) = {res}0.9901
{txt}
{com}. cohend dtrans_sports lgbt_first_txt if partyid==1 & female==1

{res}(1) Cohen's {it:d} and (2) Cohen's {it:d} corrected for uneven groups

{txt}(1) -.27656415
(2) -.27660555


{res}(3) Hedges' {it:g} and (4) Hedges' {it:g} corrected for uneven groups

{txt}(3) -.27560552
(4) -.27564678


{res}(5) Effect size {it:r} and (6) Effect size {it:r} corrected for uneven groups

{txt}(5) -.13697863
(6) -.13695851

{com}. 
. *"Among Republican men and women, LGBT+ framing increases transgender support among Republican women from 13.5% to 24.2% (unpaired t-test=2.16, p<0.02, Cohen's d=0.28) and among Republican men from 16.4% to 26.3% (unpaired t-test=1.71, p<0.04, Cohen's d=0.25)."
. 
. tab dtrans_sports if lgbt_first_txt==0 & female==1 & partyid==2

        {txt}1 = {c |}
  inclusive {c |}
participati {c |}
     on 0 = {c |}
  exclusive {c |}
  gender of {c |}
      birth {c |}
participati {c |}
         on {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        103       86.55       86.55
{txt}          1 {c |}{res}         16       13.45      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        119      100.00
{txt}
{com}. tab dtrans_sports if lgbt_first_txt==1 & female==1 & partyid==2

        {txt}1 = {c |}
  inclusive {c |}
participati {c |}
     on 0 = {c |}
  exclusive {c |}
  gender of {c |}
      birth {c |}
participati {c |}
         on {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         94       75.81       75.81
{txt}          1 {c |}{res}         30       24.19      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        124      100.00
{txt}
{com}. ttest dtrans_sports if female==1 & partyid==2, by(lgbt_first_txt) unpaired unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. err.{col 47}Std. dev.{col 59}[95% conf. interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    119{col 22} .1344538{col 34} .0314044{col 46} .3425817{col 58} .0722645{col 70} .1966431
       {txt}1 {c |}{res}{col 12}    124{col 22} .2419355{col 34} .0386145{col 46} .4299928{col 58} .1655005{col 70} .3183705
{txt}{hline 9}{c +}{hline 68}
Combined {c |}{res}{col 12}    243{col 22} .1893004{col 34} .0251825{col 46} .3925556{col 58} .1396956{col 70} .2389052
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1074817{col 34} .0497726{col 58}-.2055432{col 70}-.0094202
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.1595
{txt}H0: diff = 0                     Satterthwaite's degrees of freedom = {res} 233.184

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0159         {txt}Pr(|T| > |t|) = {res}0.0318          {txt}Pr(T > t) = {res}0.9841
{txt}
{com}. cohend dtrans_sports lgbt_first_txt if partyid==2 & female==1

{res}(1) Cohen's {it:d} and (2) Cohen's {it:d} corrected for uneven groups

{txt}(1) -.27692394
(2) -.27698258


{res}(3) Hedges' {it:g} and (4) Hedges' {it:g} corrected for uneven groups

{txt}(3) -.27578198
(4) -.27584038


{res}(5) Effect size {it:r} and (6) Effect size {it:r} corrected for uneven groups

{txt}(5) -.13715348
(6) -.13712499

{com}. 
. tab dtrans_sports if lgbt_first_txt==0 & female==0 & partyid==2

        {txt}1 = {c |}
  inclusive {c |}
participati {c |}
     on 0 = {c |}
  exclusive {c |}
  gender of {c |}
      birth {c |}
participati {c |}
         on {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         87       83.65       83.65
{txt}          1 {c |}{res}         17       16.35      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        104      100.00
{txt}
{com}. tab dtrans_sports if lgbt_first_txt==1 & female==0 & partyid==2

        {txt}1 = {c |}
  inclusive {c |}
participati {c |}
     on 0 = {c |}
  exclusive {c |}
  gender of {c |}
      birth {c |}
participati {c |}
         on {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         70       73.68       73.68
{txt}          1 {c |}{res}         25       26.32      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         95      100.00
{txt}
{com}. ttest dtrans_sports if female==0 & partyid==2, by(lgbt_first_txt) unpaired unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. err.{col 47}Std. dev.{col 59}[95% conf. interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    104{col 22} .1634615{col 34} .0364361{col 46}  .371577{col 58} .0911991{col 70}  .235724
       {txt}1 {c |}{res}{col 12}     95{col 22} .2631579{col 34} .0454184{col 46} .4426835{col 58} .1729787{col 70} .3533371
{txt}{hline 9}{c +}{hline 68}
Combined {c |}{res}{col 12}    199{col 22} .2110553{col 34} .0289994{col 46} .4090867{col 58}  .153868{col 70} .2682426
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0996964{col 34} .0582273{col 58}-.2145742{col 70} .0151815
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.7122
{txt}H0: diff = 0                     Satterthwaite's degrees of freedom = {res} 184.272

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0443         {txt}Pr(|T| > |t|) = {res}0.0885          {txt}Pr(T > t) = {res}0.9557
{txt}
{com}. cohend dtrans_sports lgbt_first_txt if partyid==2 & female==0

{res}(1) Cohen's {it:d} and (2) Cohen's {it:d} corrected for uneven groups

{txt}(1) -.24590732
(2) -.2461592


{res}(3) Hedges' {it:g} and (4) Hedges' {it:g} corrected for uneven groups

{txt}(3) -.24466849
(4) -.24491909


{res}(5) Effect size {it:r} and (6) Effect size {it:r} corrected for uneven groups

{txt}(5) -.12203469
(6) -.12191167

{com}. 
. *MS Table 1
. 
. reg dtrans_sports lgbt_first_txt, robust

{txt}Linear regression                               Number of obs     = {res}     1,363
                                                {txt}F(1, 1361)        =  {res}    12.48
                                                {txt}Prob > F          = {res}    0.0004
                                                {txt}R-squared         = {res}    0.0091
                                                {txt}Root MSE          =    {res} .47514

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1} dtrans_sports{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      t{col 48}   P>|t|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
lgbt_first_txt {c |}{col 16}{res}{space 2}  .090903{col 28}{space 2} .0257361{col 39}{space 1}    3.53{col 48}{space 3}0.000{col 56}{space 4} .0404162{col 69}{space 3} .1413898
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} .3044118{col 28}{space 2} .0176592{col 39}{space 1}   17.24{col 48}{space 3}0.000{col 56}{space 4} .2697695{col 69}{space 3}  .339054
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg dtrans_sports lgbt_first_txt revalphalgbtnational revalphalgbtstatelocal, robust

{txt}Linear regression                               Number of obs     = {res}     1,357
                                                {txt}F(3, 1353)        =  {res}    26.03
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0507
                                                {txt}Root MSE          =    {res} .46542

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    dtrans_sports{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}lgbt_first_txt {c |}{col 19}{res}{space 2} .0909648{col 31}{space 2} .0252791{col 42}{space 1}    3.60{col 51}{space 3}0.000{col 59}{space 4} .0413743{col 72}{space 3} .1405553
{txt}revalphalgbtnat~l {c |}{col 19}{res}{space 2} .0802764{col 31}{space 2}  .015254{col 42}{space 1}    5.26{col 51}{space 3}0.000{col 59}{space 4} .0503524{col 72}{space 3} .1102004
{txt}revalphalgbtsta~l {c |}{col 19}{res}{space 2}-.0887266{col 31}{space 2}  .013374{col 42}{space 1}   -6.63{col 51}{space 3}0.000{col 59}{space 4}-.1149627{col 72}{space 3}-.0624906
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .2953892{col 31}{space 2} .0573768{col 42}{space 1}    5.15{col 51}{space 3}0.000{col 59}{space 4} .1828321{col 72}{space 3} .4079463
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. reg dtrans_sports lgbt_first_txt##c.safe_lgbt revalphalgbtnational revalphalgbtstatelocal i.partyid i.ideo i.gender age education hhincome devangelical ib2.race dlatino i.census_region rural if partyid<4  & ideo<6, robust

{txt}Linear regression                               Number of obs     = {res}     1,222
                                                {txt}F(27, 1194)       =  {res}    13.35
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1565
                                                {txt}Root MSE          =    {res} .44026

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    dtrans_sports{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}1.lgbt_first_txt {c |}{col 19}{res}{space 2} .2050866{col 31}{space 2} .0560416{col 42}{space 1}    3.66{col 51}{space 3}0.000{col 59}{space 4} .0951355{col 72}{space 3} .3150376
{txt}{space 8}safe_lgbt {c |}{col 19}{res}{space 2} .0289478{col 31}{space 2} .0211353{col 42}{space 1}    1.37{col 51}{space 3}0.171{col 59}{space 4}-.0125186{col 72}{space 3} .0704142
{txt}{space 17} {c |}
{space 3}lgbt_first_txt#{c |}
{space 6}c.safe_lgbt {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0769318{col 31}{space 2} .0295896{col 42}{space 1}   -2.60{col 51}{space 3}0.009{col 59}{space 4}-.1349853{col 72}{space 3}-.0188783
{txt}{space 17} {c |}
revalphalgbtnat~l {c |}{col 19}{res}{space 2} .0397297{col 31}{space 2} .0163799{col 42}{space 1}    2.43{col 51}{space 3}0.015{col 59}{space 4} .0075932{col 72}{space 3} .0718662
{txt}revalphalgbtsta~l {c |}{col 19}{res}{space 2}-.0658405{col 31}{space 2} .0136296{col 42}{space 1}   -4.83{col 51}{space 3}0.000{col 59}{space 4}-.0925811{col 72}{space 3}   -.0391
{txt}{space 17} {c |}
{space 10}partyid {c |}
{space 6}Republican  {c |}{col 19}{res}{space 2} -.161714{col 31}{space 2}  .033959{col 42}{space 1}   -4.76{col 51}{space 3}0.000{col 59}{space 4}-.2283399{col 72}{space 3}-.0950882
{txt}Independent/un~d  {c |}{col 19}{res}{space 2}-.0962291{col 31}{space 2} .0377509{col 42}{space 1}   -2.55{col 51}{space 3}0.011{col 59}{space 4}-.1702946{col 72}{space 3}-.0221636
{txt}{space 17} {c |}
{space 13}ideo {c |}
Somewhat conse..  {c |}{col 19}{res}{space 2} .0095858{col 31}{space 2} .0372438{col 42}{space 1}    0.26{col 51}{space 3}0.797{col 59}{space 4}-.0634847{col 72}{space 3} .0826563
{txt}{space 8}Moderate  {c |}{col 19}{res}{space 2}  .099883{col 31}{space 2} .0364362{col 42}{space 1}    2.74{col 51}{space 3}0.006{col 59}{space 4}  .028397{col 72}{space 3} .1713691
{txt}Somewhat liberal  {c |}{col 19}{res}{space 2} .1072296{col 31}{space 2} .0522321{col 42}{space 1}    2.05{col 51}{space 3}0.040{col 59}{space 4} .0047526{col 72}{space 3} .2097065
{txt}{space 4}Very liberal  {c |}{col 19}{res}{space 2} .1705192{col 31}{space 2} .0488495{col 42}{space 1}    3.49{col 51}{space 3}0.000{col 59}{space 4} .0746787{col 72}{space 3} .2663597
{txt}{space 17} {c |}
{space 11}gender {c |}
{space 10}Female  {c |}{col 19}{res}{space 2} .0685065{col 31}{space 2} .0266817{col 42}{space 1}    2.57{col 51}{space 3}0.010{col 59}{space 4} .0161583{col 72}{space 3} .1208548
{txt}Another gende..)  {c |}{col 19}{res}{space 2} .4683508{col 31}{space 2} .1137223{col 42}{space 1}    4.12{col 51}{space 3}0.000{col 59}{space 4}  .245233{col 72}{space 3} .6914687
{txt}{space 17} {c |}
{space 14}age {c |}{col 19}{res}{space 2}-.0015365{col 31}{space 2} .0008482{col 42}{space 1}   -1.81{col 51}{space 3}0.070{col 59}{space 4}-.0032007{col 72}{space 3} .0001276
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0071909{col 31}{space 2} .0140365{col 42}{space 1}    0.51{col 51}{space 3}0.609{col 59}{space 4}-.0203481{col 72}{space 3} .0347299
{txt}{space 9}hhincome {c |}{col 19}{res}{space 2}-.0141434{col 31}{space 2} .0091607{col 42}{space 1}   -1.54{col 51}{space 3}0.123{col 59}{space 4}-.0321162{col 72}{space 3} .0038294
{txt}{space 5}devangelical {c |}{col 19}{res}{space 2}-.1254538{col 31}{space 2} .0283126{col 42}{space 1}   -4.43{col 51}{space 3}0.000{col 59}{space 4}-.1810018{col 72}{space 3}-.0699057
{txt}{space 17} {c |}
{space 13}race {c |}
African-Americ..  {c |}{col 19}{res}{space 2} .0613063{col 31}{space 2}  .046442{col 42}{space 1}    1.32{col 51}{space 3}0.187{col 59}{space 4}-.0298106{col 72}{space 3} .1524232
{txt}{space 1}Native American  {c |}{col 19}{res}{space 2} .0141962{col 31}{space 2} .0960161{col 42}{space 1}    0.15{col 51}{space 3}0.882{col 59}{space 4} -.174183{col 72}{space 3} .2025753
{txt}{space 11}Asian  {c |}{col 19}{res}{space 2}-.0108391{col 31}{space 2}  .060229{col 42}{space 1}   -0.18{col 51}{space 3}0.857{col 59}{space 4}-.1290055{col 72}{space 3} .1073273
{txt}Multiple or a..)  {c |}{col 19}{res}{space 2} .2642969{col 31}{space 2} .0940295{col 42}{space 1}    2.81{col 51}{space 3}0.005{col 59}{space 4} .0798154{col 72}{space 3} .4487784
{txt}Don't know/Uns..  {c |}{col 19}{res}{space 2} .0021899{col 31}{space 2} .1572932{col 42}{space 1}    0.01{col 51}{space 3}0.989{col 59}{space 4} -.306412{col 72}{space 3} .3107918
{txt}{space 17} {c |}
{space 10}dlatino {c |}{col 19}{res}{space 2} .0263959{col 31}{space 2} .0415034{col 42}{space 1}    0.64{col 51}{space 3}0.525{col 59}{space 4}-.0550318{col 72}{space 3} .1078237
{txt}{space 17} {c |}
{space 4}census_region {c |}
{space 9}Midwest  {c |}{col 19}{res}{space 2}-.0210266{col 31}{space 2} .0439371{col 42}{space 1}   -0.48{col 51}{space 3}0.632{col 59}{space 4}-.1072291{col 72}{space 3} .0651758
{txt}{space 11}South  {c |}{col 19}{res}{space 2} -.015976{col 31}{space 2} .0405916{col 42}{space 1}   -0.39{col 51}{space 3}0.694{col 59}{space 4}-.0956149{col 72}{space 3} .0636628
{txt}{space 12}West  {c |}{col 19}{res}{space 2}-.0113107{col 31}{space 2} .0455898{col 42}{space 1}   -0.25{col 51}{space 3}0.804{col 59}{space 4}-.1007558{col 72}{space 3} .0781344
{txt}{space 17} {c |}
{space 12}rural {c |}{col 19}{res}{space 2} -.000971{col 31}{space 2} .0047801{col 42}{space 1}   -0.20{col 51}{space 3}0.839{col 59}{space 4}-.0103493{col 72}{space 3} .0084073
{txt}{space 12}_cons {c |}{col 19}{res}{space 2} .4258272{col 31}{space 2} .1245172{col 42}{space 1}    3.42{col 51}{space 3}0.001{col 59}{space 4} .1815304{col 72}{space 3} .6701241
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. *MS Figure 2
. 
. cibar dtrans_sports, over(lgbt_first_txt) 
{res}{txt}
{com}. *Note additional formatting requires the "Figure 2 formatting.grec" file with the command graph play "Figure 2 formatting.grec" 
. 
. *Ms. Figure 3
. 
. cibar dtrans_sports if partyid<4, over1(lgbt_first_txt) over2(partyid) over3(female)
{res}{txt}
{com}. *Note additional formatting requires the "Figure 3 formatting.grec" file with the command graph play "Figure 3 formatting.grec" 
. 
. 
. *Online Appendix Replication
. 
. *Appendix Table 1
. 
. sum dtrans_sports lgbt_first_txt  revlgbt_congress revlgbt_sc revalphalgbtnational revlgbt_state revlgbt_local revalphalgbtstatelocal safe_lgbt  i.gender age education i.partyid i.ideo i.race dlatino hhincome devangelical i.census_region rural

{txt}    Variable {c |}        Obs        Mean    Std. dev.       Min        Max
{hline 13}{c +}{hline 57}
dtrans_spo~s {c |}{res}      1,363    .3499633    .4771331          0          1
{txt}lgbt_first~t {c |}{res}      1,363    .5011005    .5001823          0          1
{txt}revlgbt_co~s {c |}{res}      1,360    2.926471    .9508321          1          4
{txt}{space 2}revlgbt_sc {c |}{res}      1,360    3.084559    .8736498          1          4
{txt}revalpha~nal {c |}{res}      1,360    3.005515    .8248837          1          4
{txt}{hline 13}{c +}{hline 57}
revlgbt_st~e {c |}{res}      1,359    2.635762    1.009054          1          4
{txt}revlgbt_lo~l {c |}{res}      1,358     2.59352    1.011949          1          4
{txt}revalpha~cal {c |}{res}      1,359     2.61479    .9523217          1          4
{txt}{space 3}safe_lgbt {c |}{res}      1,361    1.734754    .8733161          1          4
{txt}{space 12} {c |}
{space 6}gender {c |}
{space 7}Male  {c |}{res}      1,366    .4758419    .4995989          0          1
{txt}{hline 13}{c +}{hline 57}
{space 5}Female  {c |}{res}      1,366    .5212299     .499732          0          1
{txt}Another ..)  {c |}{res}      1,366    .0029283    .0540539          0          1
{txt}{space 12} {c |}
{space 9}age {c |}{res}      1,343    47.67163    17.32735         20         94
{txt}{space 3}education {c |}{res}      1,364    3.156891     1.09304          1          5
{txt}{space 12} {c |}
{space 5}partyid {c |}
{space 3}Democrat  {c |}{res}      1,366    .4363104    .4961087          0          1
{txt}{hline 13}{c +}{hline 57}
{space 1}Republican  {c |}{res}      1,366    .3235725    .4680103          0          1
{txt}Independe~d  {c |}{res}      1,366     .204246    .4032972          0          1
{txt}{space 6}Other  {c |}{res}      1,366    .0051245    .0714278          0          1
{txt}Don't kno..  {c |}{res}      1,366    .0307467    .1726939          0          1
{txt}{space 12} {c |}
{space 8}ideo {c |}
Very cons..  {c |}{res}      1,366    .2254758    .4180484          0          1
{txt}{hline 13}{c +}{hline 57}
Somewhat ..  {c |}{res}      1,366    .1961933    .3972619          0          1
{txt}{space 3}Moderate  {c |}{res}      1,366    .3096633    .4625241          0          1
{txt}Somewhat ..  {c |}{res}      1,366    .1163982    .3208193          0          1
{txt}Very libe..  {c |}{res}      1,366    .1076135    .3100051          0          1
{txt}{space 6}Other  {c |}{res}      1,366    .0051245    .0714278          0          1
{txt}{hline 13}{c +}{hline 57}
{space 1}Don't know  {c |}{res}      1,366    .0395315    .1949271          0          1
{txt}{space 12} {c |}
{space 8}race {c |}
African-A..  {c |}{res}      1,366    .1193265     .324291          0          1
{txt}White or ..  {c |}{res}      1,366    .7752562    .4175663          0          1
{txt}Native Am..  {c |}{res}      1,366    .0168375    .1287094          0          1
{txt}{space 6}Asian  {c |}{res}      1,366    .0512445    .2205768          0          1
{txt}{hline 13}{c +}{hline 57}
Multiple..)  {c |}{res}      1,366    .0234261    .1513078          0          1
{txt}Don't kno..  {c |}{res}      1,366    .0139092    .1171572          0          1
{txt}{space 12} {c |}
{space 5}dlatino {c |}{res}      1,366    .1193265     .324291          0          1
{txt}{space 4}hhincome {c |}{res}      1,310     3.31145    1.689162          1          7
{txt}devangelical {c |}{res}      1,366    .3374817    .4730239          0          1
{txt}{hline 13}{c +}{hline 57}
{space 12} {c |}
census_reg~n {c |}
{space 2}Northeast  {c |}{res}      1,366    .1442167     .351438          0          1
{txt}{space 4}Midwest  {c |}{res}      1,366      .22694    .4190069          0          1
{txt}{space 6}South  {c |}{res}      1,366    .4480234    .4974732          0          1
{txt}{space 7}West  {c |}{res}      1,366    .1808199    .3850099          0          1
{txt}{space 12} {c |}
{space 7}rural {c |}{res}      1,366    4.931186    2.669806          1          9
{txt}
{com}. 
. *Appendix Table 2
. 
. iebaltab revalphalgbtnational revalphalgbtstatelocal safe_lgbt partyid ideo gender age education hhincome devangelical race dlatino census_region rural, groupvar(lgbt_first_txt) savexls(balance)

{res}{phang}Balance table saved in Excel format to: {browse "balance.xlsx":balance.xlsx}{p_end}
{txt}
{com}. 
. *Appendix Figure 1
. 
. catcibar revlgbt_congress revlgbt_sc revlgbt_state revlgbt_local, over(lgbt_first_txt)
{txt}
{com}. *Note additional formatting requires the "Appendix Figure 1 formatting.grec" file with the command graph play "Appendix Figure 1 formatting.grec" 
. 
. *Appendix Table 3a
. 
. factor revlgbt_congress revlgbt_sc
{txt}(obs=1,360)

Factor analysis/correlation{col 50}Number of obs    = {res}     1,360
{col 5}{txt}Method: principal factors{col 50}Retained factors =   {res}       1
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       1

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      1.03741      1.26928            1.2878       1.2878
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}     -0.23187            .           -0.2878       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}1{txt})  ={res}  700.24{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:revlgbt_co~s}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7202}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4813}}}{space 1}
{space 4}{space 0}{ralign 12:revlgbt_sc}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.7202}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.4813}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{c  BT}{hline 14}

{com}. alpha revlgbt_congress revlgbt_sc

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .5271934
{txt}Number of items in the scale:{col 34}{res}        2
{txt}Scale reliability coefficient:{col 34}{res}   0.7748
{txt}
{com}. 
. *Appendix Table 3b
. 
. factor revlgbt_state revlgbt_local
{txt}(obs=1,358)

Factor analysis/correlation{col 50}Number of obs    = {res}     1,358
{col 5}{txt}Method: principal factors{col 50}Retained factors =   {res}       1
{col 5}{txt}Rotation: (unrotated){col 50}Number of params =   {res}       1

{txt}{col 5}{hline 13}{c TT}{hline 60}
{col 5}     Factor  {c |} {ralign 12:Eigenvalue}   Difference        Proportion   Cumulative
{col 5}{hline 13}{c +}{hline 60}
{col 5}{ralign 11:Factor1}  {c |}{res}      1.38036      1.55371            1.1436       1.1436
{txt}{col 5}{ralign 11:Factor2}  {c |}{res}     -0.17335            .           -0.1436       1.0000
{txt}{col 5}{hline 13}{c BT}{hline 60}
{col 5}LR test: independent vs. saturated:  chi2({res}1{txt})  ={res} 1254.88{txt} Prob>chi2 ={res} 0.0000

{txt}Factor loadings (pattern matrix) and unique variances

{space 4}{hline 13}{c  TT}{hline 10}{c  TT}{hline 14}
{space 4}{space 0}{ralign 12:Variable}{space 1}{c |}{space 1}{ralign 8:Factor1}{space 1}{c |}{space 1}{ralign 12:Uniqueness}{space 1}
{space 4}{hline 13}{c   +}{hline 10}{c   +}{hline 14}
{space 4}{space 0}{ralign 12:revlgbt_st~e}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.8308}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.3098}}}{space 1}
{space 4}{space 0}{ralign 12:revlgbt_lo~l}{space 1}{c |}{space 1}{ralign 8:{res:{sf:  0.8308}}}{space 1}{c |}{space 1}{center 12:{res:{sf:    0.3098}}}{space 1}
{space 4}{hline 13}{c  BT}{hline 10}{c  BT}{hline 14}

{com}. alpha revlgbt_state revlgbt_local

{txt}Test scale = mean(unstandardized items)

Average interitem covariance:{col 34}{res} .7935095
{txt}Number of items in the scale:{col 34}{res}        2
{txt}Scale reliability coefficient:{col 34}{res}   0.8746
{txt}
{com}. 
. *Appendix Table 4
. 
. logit dtrans_sports lgbt_first_txt, robust

{res}{txt}Iteration 0:{space 2}Log pseudolikelihood = {res:-882.43881}  
Iteration 1:{space 2}Log pseudolikelihood = {res:-876.24206}  
Iteration 2:{space 2}Log pseudolikelihood = {res: -876.2364}  
Iteration 3:{space 2}Log pseudolikelihood = {res: -876.2364}  
{res}
{txt}{col 1}Logistic regression{col 57}{lalign 13:Number of obs}{col 70} = {res}{ralign 6:1,363}
{txt}{col 57}{lalign 13:Wald chi2({res:1})}{col 70} = {res}{ralign 6:12.32}
{txt}{col 57}{lalign 13:Prob > chi2}{col 70} = {res}{ralign 6:0.0004}
{txt}{col 1}{lalign 20:Log pseudolikelihood}{col 21} = {res}{ralign 9:-876.2364}{txt}{col 57}{lalign 13:Pseudo R2}{col 70} = {res}{ralign 6:0.0070}

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1} dtrans_sports{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      z{col 48}   P>|z|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
lgbt_first_txt {c |}{col 16}{res}{space 2}  .401351{col 28}{space 2} .1143665{col 39}{space 1}    3.51{col 48}{space 3}0.000{col 56}{space 4} .1771968{col 69}{space 3} .6255051
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}-.8263766{col 28}{space 2} .0833678{col 39}{space 1}   -9.91{col 48}{space 3}0.000{col 56}{space 4}-.9897744{col 69}{space 3}-.6629788
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. logit dtrans_sports lgbt_first_txt revalphalgbtnational revalphalgbtstatelocal, robust

{res}{txt}Iteration 0:{space 2}Log pseudolikelihood = {res:-878.61604}  
Iteration 1:{space 2}Log pseudolikelihood = {res:-843.98761}  
Iteration 2:{space 2}Log pseudolikelihood = {res:-843.82474}  
Iteration 3:{space 2}Log pseudolikelihood = {res:-843.82472}  
{res}
{txt}{col 1}Logistic regression{col 57}{lalign 13:Number of obs}{col 70} = {res}{ralign 6:1,357}
{txt}{col 57}{lalign 13:Wald chi2({res:3})}{col 70} = {res}{ralign 6:67.17}
{txt}{col 57}{lalign 13:Prob > chi2}{col 70} = {res}{ralign 6:0.0000}
{txt}{col 1}{lalign 20:Log pseudolikelihood}{col 21} = {res}{ralign 10:-843.82472}{txt}{col 57}{lalign 13:Pseudo R2}{col 70} = {res}{ralign 6:0.0396}

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    dtrans_sports{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      z{col 51}   P>|z|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}lgbt_first_txt {c |}{col 19}{res}{space 2} .4192555{col 31}{space 2} .1175622{col 42}{space 1}    3.57{col 51}{space 3}0.000{col 59}{space 4} .1888379{col 72}{space 3} .6496731
{txt}revalphalgbtnat~l {c |}{col 19}{res}{space 2} .3681079{col 31}{space 2} .0744696{col 42}{space 1}    4.94{col 51}{space 3}0.000{col 59}{space 4} .2221502{col 72}{space 3} .5140656
{txt}revalphalgbtsta~l {c |}{col 19}{res}{space 2}-.3976694{col 31}{space 2} .0620642{col 42}{space 1}   -6.41{col 51}{space 3}0.000{col 59}{space 4}-.5193131{col 72}{space 3}-.2760258
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-.9255744{col 31}{space 2}  .273529{col 42}{space 1}   -3.38{col 51}{space 3}0.001{col 59}{space 4}-1.461681{col 72}{space 3}-.3894675
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. logit dtrans_sports lgbt_first_txt revalphalgbtnational revalphalgbtstatelocal i.partyid i.ideo i.gender age education hhincome devangelical ib2.race dlatino i.census_region rural if partyid<4  & ideo<6, robust

{txt}note: {bf:3.gender} != 0 predicts success perfectly;
      {bf:3.gender} omitted and 4 obs not used.

{res}{txt}Iteration 0:{space 2}Log pseudolikelihood = {res: -781.2765}  
Iteration 1:{space 2}Log pseudolikelihood = {res:-687.27444}  
Iteration 2:{space 2}Log pseudolikelihood = {res:-685.43561}  
Iteration 3:{space 2}Log pseudolikelihood = {res:-685.43295}  
Iteration 4:{space 2}Log pseudolikelihood = {res:-685.43295}  
{res}
{txt}{col 1}Logistic regression{col 57}{lalign 13:Number of obs}{col 70} = {res}{ralign 6:1,221}
{txt}{col 57}{lalign 13:Wald chi2({res:24})}{col 70} = {res}{ralign 6:168.75}
{txt}{col 57}{lalign 13:Prob > chi2}{col 70} = {res}{ralign 6:0.0000}
{txt}{col 1}{lalign 20:Log pseudolikelihood}{col 21} = {res}{ralign 10:-685.43295}{txt}{col 57}{lalign 13:Pseudo R2}{col 70} = {res}{ralign 6:0.1227}

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    dtrans_sports{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      z{col 51}   P>|z|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}lgbt_first_txt {c |}{col 19}{res}{space 2} .3794826{col 31}{space 2} .1315971{col 42}{space 1}    2.88{col 51}{space 3}0.004{col 59}{space 4}  .121557{col 72}{space 3} .6374083
{txt}revalphalgbtnat~l {c |}{col 19}{res}{space 2} .2486123{col 31}{space 2} .0881455{col 42}{space 1}    2.82{col 51}{space 3}0.005{col 59}{space 4} .0758502{col 72}{space 3} .4213743
{txt}revalphalgbtsta~l {c |}{col 19}{res}{space 2}-.3396758{col 31}{space 2} .0718912{col 42}{space 1}   -4.72{col 51}{space 3}0.000{col 59}{space 4}  -.48058{col 72}{space 3}-.1987717
{txt}{space 17} {c |}
{space 10}partyid {c |}
{space 6}Republican  {c |}{col 19}{res}{space 2}-.8503175{col 31}{space 2}  .185071{col 42}{space 1}   -4.59{col 51}{space 3}0.000{col 59}{space 4} -1.21305{col 72}{space 3} -.487585
{txt}Independent/un~d  {c |}{col 19}{res}{space 2}-.4561618{col 31}{space 2} .1820525{col 42}{space 1}   -2.51{col 51}{space 3}0.012{col 59}{space 4}-.8129781{col 72}{space 3}-.0993455
{txt}{space 17} {c |}
{space 13}ideo {c |}
Somewhat conse..  {c |}{col 19}{res}{space 2} .1321466{col 31}{space 2} .2360611{col 42}{space 1}    0.56{col 51}{space 3}0.576{col 59}{space 4}-.3305246{col 72}{space 3} .5948178
{txt}{space 8}Moderate  {c |}{col 19}{res}{space 2} .5475896{col 31}{space 2} .2040574{col 42}{space 1}    2.68{col 51}{space 3}0.007{col 59}{space 4} .1476445{col 72}{space 3} .9475347
{txt}Somewhat liberal  {c |}{col 19}{res}{space 2} .5035722{col 31}{space 2} .2555929{col 42}{space 1}    1.97{col 51}{space 3}0.049{col 59}{space 4} .0026194{col 72}{space 3} 1.004525
{txt}{space 4}Very liberal  {c |}{col 19}{res}{space 2} .8217904{col 31}{space 2} .2437935{col 42}{space 1}    3.37{col 51}{space 3}0.001{col 59}{space 4} .3439639{col 72}{space 3} 1.299617
{txt}{space 17} {c |}
{space 11}gender {c |}
{space 10}Female  {c |}{col 19}{res}{space 2} .3602193{col 31}{space 2} .1369983{col 42}{space 1}    2.63{col 51}{space 3}0.009{col 59}{space 4} .0917076{col 72}{space 3} .6287311
{txt}Another gende..)  {c |}{col 19}{res}{space 2}        0{col 31}{txt}  (empty)
{space 17} {c |}
{space 14}age {c |}{col 19}{res}{space 2}-.0089837{col 31}{space 2} .0043104{col 42}{space 1}   -2.08{col 51}{space 3}0.037{col 59}{space 4}-.0174318{col 72}{space 3}-.0005355
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0420807{col 31}{space 2} .0734911{col 42}{space 1}    0.57{col 51}{space 3}0.567{col 59}{space 4}-.1019593{col 72}{space 3} .1861206
{txt}{space 9}hhincome {c |}{col 19}{res}{space 2}-.0722594{col 31}{space 2}  .047399{col 42}{space 1}   -1.52{col 51}{space 3}0.127{col 59}{space 4}-.1651599{col 72}{space 3}  .020641
{txt}{space 5}devangelical {c |}{col 19}{res}{space 2}-.6816127{col 31}{space 2} .1579527{col 42}{space 1}   -4.32{col 51}{space 3}0.000{col 59}{space 4}-.9911943{col 72}{space 3}-.3720311
{txt}{space 17} {c |}
{space 13}race {c |}
African-Americ..  {c |}{col 19}{res}{space 2} .2917229{col 31}{space 2} .2173674{col 42}{space 1}    1.34{col 51}{space 3}0.180{col 59}{space 4}-.1343093{col 72}{space 3} .7177552
{txt}{space 1}Native American  {c |}{col 19}{res}{space 2}-.0019732{col 31}{space 2} .4690734{col 42}{space 1}   -0.00{col 51}{space 3}0.997{col 59}{space 4}-.9213401{col 72}{space 3} .9173937
{txt}{space 11}Asian  {c |}{col 19}{res}{space 2}-.0650278{col 31}{space 2} .2967383{col 42}{space 1}   -0.22{col 51}{space 3}0.827{col 59}{space 4}-.6466241{col 72}{space 3} .5165685
{txt}Multiple or a..)  {c |}{col 19}{res}{space 2} 1.336494{col 31}{space 2}   .53963{col 42}{space 1}    2.48{col 51}{space 3}0.013{col 59}{space 4} .2788384{col 72}{space 3} 2.394149
{txt}Don't know/Uns..  {c |}{col 19}{res}{space 2} .0591552{col 31}{space 2} .7705181{col 42}{space 1}    0.08{col 51}{space 3}0.939{col 59}{space 4}-1.451033{col 72}{space 3} 1.569343
{txt}{space 17} {c |}
{space 10}dlatino {c |}{col 19}{res}{space 2} .1312528{col 31}{space 2} .2082785{col 42}{space 1}    0.63{col 51}{space 3}0.529{col 59}{space 4}-.2769655{col 72}{space 3} .5394711
{txt}{space 17} {c |}
{space 4}census_region {c |}
{space 9}Midwest  {c |}{col 19}{res}{space 2}-.0897667{col 31}{space 2} .2257765{col 42}{space 1}   -0.40{col 51}{space 3}0.691{col 59}{space 4}-.5322804{col 72}{space 3}  .352747
{txt}{space 11}South  {c |}{col 19}{res}{space 2}-.0765071{col 31}{space 2} .2075827{col 42}{space 1}   -0.37{col 51}{space 3}0.712{col 59}{space 4}-.4833617{col 72}{space 3} .3303474
{txt}{space 12}West  {c |}{col 19}{res}{space 2}-.0696336{col 31}{space 2} .2324612{col 42}{space 1}   -0.30{col 51}{space 3}0.765{col 59}{space 4}-.5252491{col 72}{space 3} .3859819
{txt}{space 17} {c |}
{space 12}rural {c |}{col 19}{res}{space 2}-.0023262{col 31}{space 2}  .024784{col 42}{space 1}   -0.09{col 51}{space 3}0.925{col 59}{space 4} -.050902{col 72}{space 3} .0462496
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-.2073652{col 31}{space 2}  .583141{col 42}{space 1}   -0.36{col 51}{space 3}0.722{col 59}{space 4}-1.350301{col 72}{space 3} .9355702
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. logit dtrans_sports lgbt_first_txt##c.safe_lgbt revalphalgbtnational revalphalgbtstatelocal i.partyid i.ideo i.gender age education hhincome devangelical ib2.race dlatino i.census_region rural if partyid<4  & ideo<6, robust

{txt}note: {bf:3.gender} != 0 predicts success perfectly;
      {bf:3.gender} omitted and 4 obs not used.

{res}{txt}Iteration 0:{space 2}Log pseudolikelihood = {res: -779.3668}  
Iteration 1:{space 2}Log pseudolikelihood = {res:-682.61719}  
Iteration 2:{space 2}Log pseudolikelihood = {res:-680.78741}  
Iteration 3:{space 2}Log pseudolikelihood = {res:-680.78466}  
Iteration 4:{space 2}Log pseudolikelihood = {res:-680.78466}  
{res}
{txt}{col 1}Logistic regression{col 57}{lalign 13:Number of obs}{col 70} = {res}{ralign 6:1,218}
{txt}{col 57}{lalign 13:Wald chi2({res:26})}{col 70} = {res}{ralign 6:173.34}
{txt}{col 57}{lalign 13:Prob > chi2}{col 70} = {res}{ralign 6:0.0000}
{txt}{col 1}{lalign 20:Log pseudolikelihood}{col 21} = {res}{ralign 10:-680.78466}{txt}{col 57}{lalign 13:Pseudo R2}{col 70} = {res}{ralign 6:0.1265}

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    dtrans_sports{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      z{col 51}   P>|z|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}1.lgbt_first_txt {c |}{col 19}{res}{space 2} 1.044636{col 31}{space 2} .2941691{col 42}{space 1}    3.55{col 51}{space 3}0.000{col 59}{space 4} .4680752{col 72}{space 3} 1.621197
{txt}{space 8}safe_lgbt {c |}{col 19}{res}{space 2} .1699201{col 31}{space 2} .1131701{col 42}{space 1}    1.50{col 51}{space 3}0.133{col 59}{space 4}-.0518892{col 72}{space 3} .3917295
{txt}{space 17} {c |}
{space 3}lgbt_first_txt#{c |}
{space 6}c.safe_lgbt {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.3879057{col 31}{space 2} .1563709{col 42}{space 1}   -2.48{col 51}{space 3}0.013{col 59}{space 4}-.6943871{col 72}{space 3}-.0814244
{txt}{space 17} {c |}
revalphalgbtnat~l {c |}{col 19}{res}{space 2} .2381253{col 31}{space 2} .0917793{col 42}{space 1}    2.59{col 51}{space 3}0.009{col 59}{space 4} .0582411{col 72}{space 3} .4180095
{txt}revalphalgbtsta~l {c |}{col 19}{res}{space 2}-.3416844{col 31}{space 2} .0724255{col 42}{space 1}   -4.72{col 51}{space 3}0.000{col 59}{space 4}-.4836358{col 72}{space 3} -.199733
{txt}{space 17} {c |}
{space 10}partyid {c |}
{space 6}Republican  {c |}{col 19}{res}{space 2}-.8558753{col 31}{space 2} .1856853{col 42}{space 1}   -4.61{col 51}{space 3}0.000{col 59}{space 4}-1.219812{col 72}{space 3}-.4919388
{txt}Independent/un~d  {c |}{col 19}{res}{space 2}-.4656417{col 31}{space 2} .1825329{col 42}{space 1}   -2.55{col 51}{space 3}0.011{col 59}{space 4}-.8233996{col 72}{space 3}-.1078837
{txt}{space 17} {c |}
{space 13}ideo {c |}
Somewhat conse..  {c |}{col 19}{res}{space 2} .1105728{col 31}{space 2}  .238641{col 42}{space 1}    0.46{col 51}{space 3}0.643{col 59}{space 4}-.3571549{col 72}{space 3} .5783006
{txt}{space 8}Moderate  {c |}{col 19}{res}{space 2} .5606925{col 31}{space 2} .2060841{col 42}{space 1}    2.72{col 51}{space 3}0.007{col 59}{space 4} .1567751{col 72}{space 3} .9646099
{txt}Somewhat liberal  {c |}{col 19}{res}{space 2} .5224828{col 31}{space 2} .2575891{col 42}{space 1}    2.03{col 51}{space 3}0.043{col 59}{space 4} .0176175{col 72}{space 3} 1.027348
{txt}{space 4}Very liberal  {c |}{col 19}{res}{space 2} .8411571{col 31}{space 2} .2469922{col 42}{space 1}    3.41{col 51}{space 3}0.001{col 59}{space 4} .3570614{col 72}{space 3} 1.325253
{txt}{space 17} {c |}
{space 11}gender {c |}
{space 10}Female  {c |}{col 19}{res}{space 2} .3562412{col 31}{space 2} .1390523{col 42}{space 1}    2.56{col 51}{space 3}0.010{col 59}{space 4} .0837037{col 72}{space 3} .6287787
{txt}Another gende..)  {c |}{col 19}{res}{space 2}        0{col 31}{txt}  (empty)
{space 17} {c |}
{space 14}age {c |}{col 19}{res}{space 2}-.0092426{col 31}{space 2} .0044615{col 42}{space 1}   -2.07{col 51}{space 3}0.038{col 59}{space 4}-.0179869{col 72}{space 3}-.0004983
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0468776{col 31}{space 2}  .074133{col 42}{space 1}    0.63{col 51}{space 3}0.527{col 59}{space 4}-.0984205{col 72}{space 3} .1921756
{txt}{space 9}hhincome {c |}{col 19}{res}{space 2}-.0712656{col 31}{space 2}  .047722{col 42}{space 1}   -1.49{col 51}{space 3}0.135{col 59}{space 4} -.164799{col 72}{space 3} .0222679
{txt}{space 5}devangelical {c |}{col 19}{res}{space 2} -.674123{col 31}{space 2} .1586615{col 42}{space 1}   -4.25{col 51}{space 3}0.000{col 59}{space 4}-.9850938{col 72}{space 3}-.3631522
{txt}{space 17} {c |}
{space 13}race {c |}
African-Americ..  {c |}{col 19}{res}{space 2} .3005997{col 31}{space 2} .2197727{col 42}{space 1}    1.37{col 51}{space 3}0.171{col 59}{space 4}-.1301468{col 72}{space 3} .7313462
{txt}{space 1}Native American  {c |}{col 19}{res}{space 2} .0316371{col 31}{space 2} .4739314{col 42}{space 1}    0.07{col 51}{space 3}0.947{col 59}{space 4}-.8972514{col 72}{space 3} .9605256
{txt}{space 11}Asian  {c |}{col 19}{res}{space 2} -.064559{col 31}{space 2} .2984312{col 42}{space 1}   -0.22{col 51}{space 3}0.829{col 59}{space 4}-.6494733{col 72}{space 3} .5203554
{txt}Multiple or a..)  {c |}{col 19}{res}{space 2} 1.337188{col 31}{space 2} .5294331{col 42}{space 1}    2.53{col 51}{space 3}0.012{col 59}{space 4} .2995185{col 72}{space 3} 2.374858
{txt}Don't know/Uns..  {c |}{col 19}{res}{space 2} .0746518{col 31}{space 2} .7402436{col 42}{space 1}    0.10{col 51}{space 3}0.920{col 59}{space 4}-1.376199{col 72}{space 3} 1.525502
{txt}{space 17} {c |}
{space 10}dlatino {c |}{col 19}{res}{space 2}  .139473{col 31}{space 2} .2079483{col 42}{space 1}    0.67{col 51}{space 3}0.502{col 59}{space 4}-.2680982{col 72}{space 3} .5470442
{txt}{space 17} {c |}
{space 4}census_region {c |}
{space 9}Midwest  {c |}{col 19}{res}{space 2}-.0948951{col 31}{space 2} .2285978{col 42}{space 1}   -0.42{col 51}{space 3}0.678{col 59}{space 4}-.5429386{col 72}{space 3} .3531483
{txt}{space 11}South  {c |}{col 19}{res}{space 2}-.0851561{col 31}{space 2} .2098259{col 42}{space 1}   -0.41{col 51}{space 3}0.685{col 59}{space 4}-.4964072{col 72}{space 3}  .326095
{txt}{space 12}West  {c |}{col 19}{res}{space 2}-.0655069{col 31}{space 2} .2360829{col 42}{space 1}   -0.28{col 51}{space 3}0.781{col 59}{space 4}-.5282208{col 72}{space 3} .3972071
{txt}{space 17} {c |}
{space 12}rural {c |}{col 19}{res}{space 2}-.0053895{col 31}{space 2} .0248438{col 42}{space 1}   -0.22{col 51}{space 3}0.828{col 59}{space 4}-.0540824{col 72}{space 3} .0433035
{txt}{space 12}_cons {c |}{col 19}{res}{space 2}-.4520599{col 31}{space 2} .6622412{col 42}{space 1}   -0.68{col 51}{space 3}0.495{col 59}{space 4}-1.750029{col 72}{space 3} .8459091
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. *Appendix Figure 2
. 
. cibar dtrans_sports if ideo<6, over2(ideo) over1(lgbt_first_txt)
{res}{txt}
{com}. *Note additional formatting requires the "Appendix Figure 2 formatting.grec" file with the command graph play "Appendix Figure 2 formatting.grec" 
. 
. *Appendix Figure 3
. 
. reg dtrans_sports lgbt_first_txt##c.revalphalgbtnational, robust

{txt}Linear regression                               Number of obs     = {res}     1,357
                                                {txt}F(3, 1353)        =  {res}    11.38
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0259
                                                {txt}Root MSE          =    {res} .47147

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    dtrans_sports{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}1.lgbt_first_txt {c |}{col 19}{res}{space 2}-.1671349{col 31}{space 2} .0953172{col 42}{space 1}   -1.75{col 51}{space 3}0.080{col 59}{space 4}-.3541203{col 72}{space 3} .0198506
{txt}revalphalgbtnat~l {c |}{col 19}{res}{space 2} .0197439{col 31}{space 2} .0213478{col 42}{space 1}    0.92{col 51}{space 3}0.355{col 59}{space 4}-.0221345{col 72}{space 3} .0616223
{txt}{space 17} {c |}
{space 3}lgbt_first_txt#{c |}
{space 15}c. {c |}
revalphalgbtnat~l {c |}
{space 15}1  {c |}{col 19}{res}{space 2}  .086126{col 31}{space 2} .0309489{col 42}{space 1}    2.78{col 51}{space 3}0.005{col 59}{space 4}  .025413{col 72}{space 3} .1468389
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .2456267{col 31}{space 2} .0664261{col 42}{space 1}    3.70{col 51}{space 3}0.000{col 59}{space 4} .1153173{col 72}{space 3}  .375936
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginscontplot  revalphalgbtnational lgbt_first_txt, at2(0 1) at1(1(1)4) ci
{res}{txt}
{com}. *Note additional formatting requires the "Appendix Figure 3 formatting.grec" file with the command graph play "Appendix Figure 3 formatting.grec" 
. 
. *Appendix Figure 4
. 
. reg dtrans_sports lgbt_first_txt##c.revalphalgbtstatelocal, robust

{txt}Linear regression                               Number of obs     = {res}     1,357
                                                {txt}F(3, 1353)        =  {res}    15.67
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0342
                                                {txt}Root MSE          =    {res} .46945

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    dtrans_sports{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 1}1.lgbt_first_txt {c |}{col 19}{res}{space 2} .2099902{col 31}{space 2} .0764372{col 42}{space 1}    2.75{col 51}{space 3}0.006{col 59}{space 4} .0600418{col 72}{space 3} .3599386
{txt}revalphalgbtsta~l {c |}{col 19}{res}{space 2}-.0535066{col 31}{space 2} .0185941{col 42}{space 1}   -2.88{col 51}{space 3}0.004{col 59}{space 4}-.0899831{col 72}{space 3}-.0170302
{txt}{space 17} {c |}
{space 3}lgbt_first_txt#{c |}
{space 15}c. {c |}
revalphalgbtsta~l {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0465445{col 31}{space 2} .0268571{col 42}{space 1}   -1.73{col 51}{space 3}0.083{col 59}{space 4}-.0992306{col 72}{space 3} .0061416
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}  .445666{col 31}{space 2} .0532845{col 42}{space 1}    8.36{col 51}{space 3}0.000{col 59}{space 4} .3411368{col 72}{space 3} .5501953
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. marginscontplot2  revalphalgbtstatelocal lgbt_first_txt, at2(0 1) at1(1(1)4) ci
{res}{txt}
{com}. *Note additional formatting requires the "Appendix Figure 4 formatting.grec" file with the command graph play "Appendix Figure 4 formatting.grec" 
. 
. *Power Calculations
. 
. power oneway, ngroups(2) n1(680) n2(683) power(0.80 0.90 0.95 0.99)
{res}
{txt}Performing iteration ...
{res}
{p 0 2 2}{txt}Estimated{txt} between-group variance{txt} for one-way ANOVA{p_end}{txt}F test for group effect
{txt}{txt}{bind:H0: delta = 0}  {txt}versus  {bind:Ha: delta != 0}

  {txt}{c TLC}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 1}{c TRC}
  {txt}{c |}{txt}{txt}{ralign 8:alpha}{txt}{txt}{ralign 8:power}{txt}{txt}{ralign 8:N}{txt}{txt}{ralign 8:N_avg}{txt}{txt}{ralign 8:N1}{txt}{txt}{ralign 8:N2}{txt}{txt}{ralign 8:delta}{txt}{txt}{ralign 8:N_g}{txt}{txt}{ralign 8:Var_m}{txt}{txt} {c |}
  {txt}{c LT}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 1}{c RT}
  {txt}{c |}{res}{ralign 8:.05}{res}{ralign 8:.8}{res}{ralign 8:1,363}{res}{ralign 8:681.5}{res}{ralign 8:680}{res}{ralign 8:683}{res}{ralign 8:.07594}{res}{ralign 8:2}{res}{ralign 8:.00577}{txt} {c |}
  {txt}{c |}{res}{ralign 8:.05}{res}{ralign 8:.9}{res}{ralign 8:1,363}{res}{ralign 8:681.5}{res}{ralign 8:680}{res}{ralign 8:683}{res}{ralign 8:.08786}{res}{ralign 8:2}{res}{ralign 8:.00772}{txt} {c |}
  {txt}{c |}{res}{ralign 8:.05}{res}{ralign 8:.95}{res}{ralign 8:1,363}{res}{ralign 8:681.5}{res}{ralign 8:680}{res}{ralign 8:683}{res}{ralign 8:.09771}{res}{ralign 8:2}{res}{ralign 8:.00955}{txt} {c |}
  {txt}{c |}{res}{ralign 8:.05}{res}{ralign 8:.99}{res}{ralign 8:1,363}{res}{ralign 8:681.5}{res}{ralign 8:680}{res}{ralign 8:683}{res}{ralign 8:.1162}{res}{ralign 8:2}{res}{ralign 8:.0135}{txt} {c |}
  {txt}{c BLC}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 8}{txt}{txt}{hline 1}{c BRC}
  {txt}{c TLC}{txt}{hline 8}{txt}{txt}{hline 1}{c TRC}
  {txt}{c |}{txt}{ralign 8:Var_e}{txt}{txt} {c |}
  {txt}{c LT}{txt}{hline 8}{txt}{txt}{hline 1}{c RT}
  {txt}{c |}{res}{ralign 8:1}{txt} {c |}
  {txt}{c |}{res}{ralign 8:1}{txt} {c |}
  {txt}{c |}{res}{ralign 8:1}{txt} {c |}
  {txt}{c |}{res}{ralign 8:1}{txt} {c |}
  {txt}{c BLC}{txt}{hline 8}{txt}{txt}{hline 1}{c BRC}

{com}. 
. tab lgbt_first_txt partyid if partyid<4, chi2

 {txt}1 = LGBT+ {c |}  In politics today, do you tend
 treatment {c |} to lean Republican, Democrat, or
  prime 0= {c |}              what? 
   Control {c |}  Democrat  Republica  Independe {c |}     Total
{hline 11}{c +}{hline 33}{c +}{hline 10}
         0 {c |}{res}       301        223        133 {txt}{c |}{res}       657 
{txt}         1 {c |}{res}       293        219        145 {txt}{c |}{res}       657 
{txt}{hline 11}{c +}{hline 33}{c +}{hline 10}
     Total {c |}{res}       594        442        278 {txt}{c |}{res}     1,314 

{txt}          Pearson chi2({res}2{txt}) = {res}  0.6619  {txt} Pr = {res}0.718
{txt}
{com}. 
. anova dtrans_sports lgbt_first_txt##i.partyid if partyid<4

                         {txt}Number of obs = {res}     1,314    {txt}R-squared     ={res}  0.0620
                         {txt}Root MSE      =   {res} .461376    {txt}Adj R-squared ={res}  0.0584

                  {txt}Source {c |} Partial SS         df         MS        F    Prob>F
     {hline 20}{c +}{hline 52}
                   Model {c |} {res} 18.397881          5   3.6795761     17.29  0.0000
                         {txt}{c |}
             lgbt_firs~t {c |} {res} 1.8178718          1   1.8178718      8.54  0.0035
{txt}                 partyid {c |} {res} 15.920598          2   7.9602992     37.40  0.0000
{txt}     lgbt_firs~t#partyid {c |} {res} .16994728          2   .08497364      0.40  0.6709
                         {txt}{c |}
                Residual {c |} {res} 278.43089      1,308   .21286765  
     {txt}{hline 20}{c +}{hline 52}
                   Total {c |} {res} 296.82877      1,313   .22606913  
{txt}
{com}. 
. power twoway, n(1314) power(.80) nrows(2) ncols(3) varerror (0.21) factor(rowcol)
{res}
{txt}Performing iteration ...
{res}
{p 0 2 2}{txt}Estimated{txt} row-by-column variance{txt} for two-way ANOVA{p_end}{txt}F test for row-by-column effect
{txt}{txt}{bind:H0: delta = 0}  {txt}versus  {bind:Ha: delta != 0}

{txt}Study parameters:

{txt}{ralign 16:alpha = }{res}   0.0500
{txt}{ralign 16:power = }{res}   0.8000
{txt}{ralign 16:N = }{res}    1,314
{txt}{ralign 16:N per cell = }{res}      219
{txt}{ralign 16:N_r = }{res}        2
{txt}{ralign 16:N_c = }{res}        3
{txt}{ralign 16:Var_e = }{res}   0.2100

{p}{txt}Estimated effect size and {txt} row-by-column variance:{p_end}

{txt}{ralign 16:delta = }{res}   0.0857
{txt}{ralign 16:Var_rc = }{res}   0.0015
{txt}
{com}. 
. cohend dtrans_sports lgbt_first_txt if partyid==2

{res}(1) Cohen's {it:d} and (2) Cohen's {it:d} corrected for uneven groups

{txt}(1) -.26050976
(2) -.26052042


{res}(3) Hedges' {it:g} and (4) Hedges' {it:g} corrected for uneven groups

{txt}(3) -.2599197
(4) -.25993034


{res}(5) Effect size {it:r} and (6) Effect size {it:r} corrected for uneven groups

{txt}(5) -.12916377
(6) -.12915857

{com}. 
. *Sensitivity Analysis
. 
. reg dtrans_sports lgbt_first_txt, robust

{txt}Linear regression                               Number of obs     = {res}     1,363
                                                {txt}F(1, 1361)        =  {res}    12.48
                                                {txt}Prob > F          = {res}    0.0004
                                                {txt}R-squared         = {res}    0.0091
                                                {txt}Root MSE          =    {res} .47514

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1} dtrans_sports{col 16}{c |} Coefficient{col 28}  std. err.{col 40}      t{col 48}   P>|t|{col 56}     [95% con{col 69}f. interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
lgbt_first_txt {c |}{col 16}{res}{space 2}  .090903{col 28}{space 2} .0257361{col 39}{space 1}    3.53{col 48}{space 3}0.000{col 56}{space 4} .0404162{col 69}{space 3} .1413898
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} .3044118{col 28}{space 2} .0176592{col 39}{space 1}   17.24{col 48}{space 3}0.000{col 56}{space 4} .2697695{col 69}{space 3}  .339054
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. reg dtrans_sports lgbt_first_txt c.safe_lgbt revalphalgbtnational revalphalgbtstatelocal i.partyid i.ideo i.gender age education hhincome devangelical ib2.race dlatino i.census_re, robust

{txt}Linear regression                               Number of obs     = {res}     1,279
                                                {txt}F(29, 1249)       =  {res}    12.70
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1566
                                                {txt}Root MSE          =    {res} .44173

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}    dtrans_sports{col 19}{c |} Coefficient{col 31}  std. err.{col 43}      t{col 51}   P>|t|{col 59}     [95% con{col 72}f. interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}lgbt_first_txt {c |}{col 19}{res}{space 2} .0844878{col 31}{space 2} .0248619{col 42}{space 1}    3.40{col 51}{space 3}0.001{col 59}{space 4} .0357121{col 72}{space 3} .1332635
{txt}{space 8}safe_lgbt {c |}{col 19}{res}{space 2}   -.0056{col 31}{space 2} .0155961{col 42}{space 1}   -0.36{col 51}{space 3}0.720{col 59}{space 4}-.0361976{col 72}{space 3} .0249975
{txt}revalphalgbtnat~l {c |}{col 19}{res}{space 2} .0396929{col 31}{space 2} .0161423{col 42}{space 1}    2.46{col 51}{space 3}0.014{col 59}{space 4} .0080239{col 72}{space 3} .0713619
{txt}revalphalgbtsta~l {c |}{col 19}{res}{space 2}-.0648793{col 31}{space 2} .0133888{col 42}{space 1}   -4.85{col 51}{space 3}0.000{col 59}{space 4}-.0911463{col 72}{space 3}-.0386123
{txt}{space 17} {c |}
{space 10}partyid {c |}
{space 6}Republican  {c |}{col 19}{res}{space 2} -.161266{col 31}{space 2} .0339253{col 42}{space 1}   -4.75{col 51}{space 3}0.000{col 59}{space 4}-.2278229{col 72}{space 3}-.0947091
{txt}Independent/un~d  {c |}{col 19}{res}{space 2}-.0958888{col 31}{space 2} .0371686{col 42}{space 1}   -2.58{col 51}{space 3}0.010{col 59}{space 4}-.1688087{col 72}{space 3}-.0229689
{txt}{space 11}Other  {c |}{col 19}{res}{space 2}-.2692783{col 31}{space 2}  .202226{col 42}{space 1}   -1.33{col 51}{space 3}0.183{col 59}{space 4}-.6660184{col 72}{space 3} .1274618
{txt}Don't know/Uns..  {c |}{col 19}{res}{space 2}  .041514{col 31}{space 2} .0981598{col 42}{space 1}    0.42{col 51}{space 3}0.672{col 59}{space 4}-.1510624{col 72}{space 3} .2340903
{txt}{space 17} {c |}
{space 13}ideo {c |}
Somewhat conse..  {c |}{col 19}{res}{space 2} .0142288{col 31}{space 2} .0368396{col 42}{space 1}    0.39{col 51}{space 3}0.699{col 59}{space 4}-.0580455{col 72}{space 3} .0865031
{txt}{space 8}Moderate  {c |}{col 19}{res}{space 2} .1053617{col 31}{space 2} .0359193{col 42}{space 1}    2.93{col 51}{space 3}0.003{col 59}{space 4} .0348929{col 72}{space 3} .1758304
{txt}Somewhat liberal  {c |}{col 19}{res}{space 2} .1052771{col 31}{space 2} .0514298{col 42}{space 1}    2.05{col 51}{space 3}0.041{col 59}{space 4} .0043787{col 72}{space 3} .2061754
{txt}{space 4}Very liberal  {c |}{col 19}{res}{space 2} .1717573{col 31}{space 2} .0482509{col 42}{space 1}    3.56{col 51}{space 3}0.000{col 59}{space 4} .0770956{col 72}{space 3}  .266419
{txt}{space 11}Other  {c |}{col 19}{res}{space 2}-.1799898{col 31}{space 2} .1139806{col 42}{space 1}   -1.58{col 51}{space 3}0.115{col 59}{space 4}-.4036043{col 72}{space 3} .0436248
{txt}{space 6}Don't know  {c |}{col 19}{res}{space 2} .0377541{col 31}{space 2} .0915339{col 42}{space 1}    0.41{col 51}{space 3}0.680{col 59}{space 4}-.1418231{col 72}{space 3} .2173314
{txt}{space 17} {c |}
{space 11}gender {c |}
{space 10}Female  {c |}{col 19}{res}{space 2} .0732462{col 31}{space 2} .0260921{col 42}{space 1}    2.81{col 51}{space 3}0.005{col 59}{space 4} .0220571{col 72}{space 3} .1244353
{txt}Another gende..)  {c |}{col 19}{res}{space 2} .4866696{col 31}{space 2} .1070192{col 42}{space 1}    4.55{col 51}{space 3}0.000{col 59}{space 4} .2767124{col 72}{space 3} .6966269
{txt}{space 17} {c |}
{space 14}age {c |}{col 19}{res}{space 2}-.0017043{col 31}{space 2}  .000821{col 42}{space 1}   -2.08{col 51}{space 3}0.038{col 59}{space 4}-.0033149{col 72}{space 3}-.0000936
{txt}{space 8}education {c |}{col 19}{res}{space 2} .0083003{col 31}{space 2} .0136955{col 42}{space 1}    0.61{col 51}{space 3}0.545{col 59}{space 4}-.0185684{col 72}{space 3} .0351689
{txt}{space 9}hhincome {c |}{col 19}{res}{space 2}-.0167002{col 31}{space 2} .0089347{col 42}{space 1}   -1.87{col 51}{space 3}0.062{col 59}{space 4}-.0342288{col 72}{space 3} .0008284
{txt}{space 5}devangelical {c |}{col 19}{res}{space 2}-.1279452{col 31}{space 2} .0278022{col 42}{space 1}   -4.60{col 51}{space 3}0.000{col 59}{space 4}-.1824894{col 72}{space 3}-.0734011
{txt}{space 17} {c |}
{space 13}race {c |}
African-Americ..  {c |}{col 19}{res}{space 2}  .049624{col 31}{space 2} .0451508{col 42}{space 1}    1.10{col 51}{space 3}0.272{col 59}{space 4}-.0389558{col 72}{space 3} .1382038
{txt}{space 1}Native American  {c |}{col 19}{res}{space 2} .0084109{col 31}{space 2} .0954708{col 42}{space 1}    0.09{col 51}{space 3}0.930{col 59}{space 4}-.1788898{col 72}{space 3} .1957117
{txt}{space 11}Asian  {c |}{col 19}{res}{space 2}-.0141615{col 31}{space 2} .0583559{col 42}{space 1}   -0.24{col 51}{space 3}0.808{col 59}{space 4}-.1286479{col 72}{space 3} .1003249
{txt}Multiple or a..)  {c |}{col 19}{res}{space 2} .2800726{col 31}{space 2} .0893205{col 42}{space 1}    3.14{col 51}{space 3}0.002{col 59}{space 4} .1048378{col 72}{space 3} .4553074
{txt}Don't know/Uns..  {c |}{col 19}{res}{space 2}  .089653{col 31}{space 2} .1457262{col 42}{space 1}    0.62{col 51}{space 3}0.539{col 59}{space 4}-.1962421{col 72}{space 3} .3755481
{txt}{space 17} {c |}
{space 10}dlatino {c |}{col 19}{res}{space 2}  .014821{col 31}{space 2} .0408991{col 42}{space 1}    0.36{col 51}{space 3}0.717{col 59}{space 4}-.0654175{col 72}{space 3} .0950595
{txt}{space 17} {c |}
{space 4}census_region {c |}
{space 9}Midwest  {c |}{col 19}{res}{space 2}-.0170865{col 31}{space 2} .0427503{col 42}{space 1}   -0.40{col 51}{space 3}0.689{col 59}{space 4}-.1009569{col 72}{space 3} .0667838
{txt}{space 11}South  {c |}{col 19}{res}{space 2}-.0101041{col 31}{space 2} .0391715{col 42}{space 1}   -0.26{col 51}{space 3}0.796{col 59}{space 4}-.0869532{col 72}{space 3} .0667451
{txt}{space 12}West  {c |}{col 19}{res}{space 2} -.012345{col 31}{space 2} .0448299{col 42}{space 1}   -0.28{col 51}{space 3}0.783{col 59}{space 4}-.1002952{col 72}{space 3} .0756051
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .4795238{col 31}{space 2} .1162427{col 42}{space 1}    4.13{col 51}{space 3}0.000{col 59}{space 4} .2514713{col 72}{space 3} .7075763
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. 
. regsensitivity bounds dtrans_sports lgbt_first_txt c.safe_lgbt revalphalgbtnational revalphalgbtstatelocal i.partyid i.ideo i.gender age education hhincome devangelical ib2.race dlatino i.census_region rural if partyid<4  & ideo<6, plot
{res}
{txt}{ul:Regression Sensitivity Analysis, Bounds}

Analysis{col 18}{res}: DMP (2022){col 48}{txt}Number of obs{col 67}{res}=       1,222
{col 48}{txt}Beta(short){col 67}{res}=       0.079
{txt}Treatment{col 18}{res}: lgbt_first_txt{col 48}{txt}Beta(medium){col 67}{res}=       0.072
{txt}Outcome{col 18}{res}: dtrans_sports{col 48}{txt}R2(short){col 67}{res}=       0.007
{col 48}{txt}R2(medium){col 67}{res}=       0.152
{col 48}{txt}Var(Y){col 67}{res}=       0.225
{col 48}{txt}Var(X){col 67}{res}=       0.250
{col 48}{txt}Var(X_Residual){col 67}{res}=       0.246

{txt}Hypothesis{col 18}{res}: Beta > 0         {col 48}{txt}Breakdown point{col 67}{res}=        51.1%
{txt}Other Params{col 18}{res}: cbar = 1, rybar = +inf

{txt}{hline 80}
 rxbar{col 35} Beta
{hline 80}
{res}{col 2}0.000{col 35}{txt}[{res} 0.0724{txt}, {res} 0.0724{txt} ]
{col 2}{res}0.101{col 35}{txt}[{res} 0.0601{txt}, {res} 0.0847{txt} ]
{col 2}{res}0.201{col 35}{txt}[{res} 0.0474{txt}, {res} 0.0973{txt} ]
{col 2}{res}0.302{col 35}{txt}[{res} 0.0339{txt}, {res} 0.1109{txt} ]
{col 2}{res}0.403{col 35}{txt}[{res} 0.0189{txt}, {res} 0.1259{txt} ]
{col 2}{res}0.504{col 35}{txt}[{res} 0.0015{txt}, {res} 0.1433{txt} ]
{col 2}{res}0.604{col 35}{txt}[{res}-0.0201{txt}, {res} 0.1649{txt} ]
{col 2}{res}0.705{col 35}{txt}[{res}-0.0493{txt}, {res} 0.1941{txt} ]
{col 2}{res}0.806{col 35}{txt}[{res}-0.0955{txt}, {res} 0.2403{txt} ]
{col 2}{res}0.906{col 35}{txt}[{res}-0.1999{txt}, {res} 0.3447{txt} ]
{col 2}{res}0.991{col 35}{txt}[   {res}-inf{txt},    {res}+inf{txt} ]
{hline 80}
{res}{txt}
{com}. 
. regsensitivity bounds dtrans_sports lgbt_first_txt c.safe_lgbt revalphalgbtnational revalphalgbtstatelocal i.partyid i.ideo i.gender age education hhincome devangelical ib2.race dlatino i.census_region rural if partyid<4  & ideo<6, oster 
{res}
{txt}{ul:Regression Sensitivity Analysis, Bounds}

Analysis{col 18}{res}: Oster (2019){col 48}{txt}Number of obs{col 67}{res}=       1,222
{col 48}{txt}Beta(short){col 67}{res}=       0.079
{txt}Treatment{col 18}{res}: lgbt_first_txt{col 48}{txt}Beta(medium){col 67}{res}=       0.072
{txt}Outcome{col 18}{res}: dtrans_sports{col 48}{txt}R2(short){col 67}{res}=       0.007
{col 48}{txt}R2(medium){col 67}{res}=       0.152
{col 48}{txt}Var(Y){col 67}{res}=       0.225
{col 48}{txt}Var(X){col 67}{res}=       0.250
{col 48}{txt}Var(X_Residual){col 67}{res}=       0.246

{txt}Hypothesis{col 18}{res}: Beta != 0         {col 48}{txt}Breakdown point{col 67}{res}=         160%
{txt}Other Params{col 18}{res}: R-squared(long) = 1

{txt}{hline 80}
 Delta{col 35} Beta
{hline 80}
{res}{col 2}-0.990{col 35}{txt}{{res} 0.1057{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}-0.800{col 35}{txt}{{res} 0.0998{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}-0.600{col 35}{txt}{{res} 0.0934{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}-0.400{col 35}{txt}{{res} 0.0867{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}-0.200{col 35}{txt}{{res} 0.0797{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}0.000{col 35}{txt}{{res} 0.0724{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}0.200{col 35}{txt}{{res} 0.0648{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}0.400{col 35}{txt}{{res} 0.0568{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}0.600{col 35}{txt}{{res} 0.0485{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}0.800{col 35}{txt}{{res} 0.0398{txt}, {res}      .{txt}, {res}      .{txt} }
{col 2}{res}0.990{col 35}{txt}{{res} 0.0311{txt}, {res}      .{txt}, {res}      .{txt} }
{hline 80}

{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\swhitt\OneDrive - High Point University\Research\US Surveys\US 2021\Transgender sports\PS\PS Transgender Sports Replication Instructions\PS transgender replication log file.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}20 Sep 2024, 18:31:17
{txt}{.-}
{smcl}
{txt}{sf}{ul off}